package com.example.demo;

import org.mybatis.spring.annotation.MapperScan;
import org.mybatis.spring.annotation.MapperScans;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import javax.xml.bind.ValidationException;

//@MapperScan( basePackages={"com.example.**.mapper.**"}) // 能识别
//@MapperScan( basePackages={"com.example.**.mapper.*"}) // 识别不了
@MapperScan( basePackages={"com.example.**.mapper"})
@SpringBootApplication
public class DemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(DemoApplication.class, args);
    }

}
